package com.shenzhen.horselive.beans;

import java.util.List;

public class MyTeamBean {


    /**
     * errCode : null
     * errMessage : null
     * data : {"currentUserGrade":0,"currentUserGradeName":"Y8","teamCount":1,"openCardCount":0,"reservedCount":0,"teamPerformance":0,"userDirectTeam":[{"grade":0,"gradeName":"Y8","directCount":1,"teamCount":1},{"grade":1,"gradeName":"Y7","directCount":0,"teamCount":0},{"grade":2,"gradeName":"Y6","directCount":0,"teamCount":0},{"grade":3,"gradeName":"Y5","directCount":0,"teamCount":0},{"grade":4,"gradeName":"Y4","directCount":0,"teamCount":0},{"grade":5,"gradeName":"Y3","directCount":0,"teamCount":0},{"grade":6,"gradeName":"Y2","directCount":0,"teamCount":0},{"grade":7,"gradeName":"Y1","directCount":0,"teamCount":0}]}
     * success : true
     */

    private String errCode;
    private String errMessage;
    private DataBean data;
    private boolean success;

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getErrMessage() {
        return errMessage;
    }

    public void setErrMessage(String errMessage) {
        this.errMessage = errMessage;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * currentUserGrade : 0
         * currentUserGradeName : Y8
         * teamCount : 1
         * openCardCount : 0
         * reservedCount : 0
         * teamPerformance : 0
         * userDirectTeam : [{"grade":0,"gradeName":"Y8","directCount":1,"teamCount":1},{"grade":1,"gradeName":"Y7","directCount":0,"teamCount":0},{"grade":2,"gradeName":"Y6","directCount":0,"teamCount":0},{"grade":3,"gradeName":"Y5","directCount":0,"teamCount":0},{"grade":4,"gradeName":"Y4","directCount":0,"teamCount":0},{"grade":5,"gradeName":"Y3","directCount":0,"teamCount":0},{"grade":6,"gradeName":"Y2","directCount":0,"teamCount":0},{"grade":7,"gradeName":"Y1","directCount":0,"teamCount":0}]
         */

        private int currentUserGrade;
        private String currentUserGradeName;
        private int teamCount;
        private int openCardCount;
        private int reservedCount;
        private int teamPerformance;
        private List<UserDirectTeamBean> userDirectTeam;

        public int getCurrentUserGrade() {
            return currentUserGrade;
        }

        public void setCurrentUserGrade(int currentUserGrade) {
            this.currentUserGrade = currentUserGrade;
        }

        public String getCurrentUserGradeName() {
            return currentUserGradeName;
        }

        public void setCurrentUserGradeName(String currentUserGradeName) {
            this.currentUserGradeName = currentUserGradeName;
        }

        public int getTeamCount() {
            return teamCount;
        }

        public void setTeamCount(int teamCount) {
            this.teamCount = teamCount;
        }

        public int getOpenCardCount() {
            return openCardCount;
        }

        public void setOpenCardCount(int openCardCount) {
            this.openCardCount = openCardCount;
        }

        public int getReservedCount() {
            return reservedCount;
        }

        public void setReservedCount(int reservedCount) {
            this.reservedCount = reservedCount;
        }

        public int getTeamPerformance() {
            return teamPerformance;
        }

        public void setTeamPerformance(int teamPerformance) {
            this.teamPerformance = teamPerformance;
        }

        public List<UserDirectTeamBean> getUserDirectTeam() {
            return userDirectTeam;
        }

        public void setUserDirectTeam(List<UserDirectTeamBean> userDirectTeam) {
            this.userDirectTeam = userDirectTeam;
        }

        public static class UserDirectTeamBean {
            /**
             * grade : 0
             * gradeName : Y8
             * directCount : 1
             * teamCount : 1
             */

            private int grade;
            private String gradeName;
            private int directCount;
            private int teamCount;

            public int getGrade() {
                return grade;
            }

            public void setGrade(int grade) {
                this.grade = grade;
            }

            public String getGradeName() {
                return gradeName;
            }

            public void setGradeName(String gradeName) {
                this.gradeName = gradeName;
            }

            public int getDirectCount() {
                return directCount;
            }

            public void setDirectCount(int directCount) {
                this.directCount = directCount;
            }

            public int getTeamCount() {
                return teamCount;
            }

            public void setTeamCount(int teamCount) {
                this.teamCount = teamCount;
            }
        }
    }
}
